/**
 * Created by thinkl on 2017/6/19.
 */
$(function () {
    var order_id = getQueryString('order_id');
    var app_data = {
        order: {},
    };
    var app = new Vue({
        el: '#send_order_detail',
        data: app_data,
        methods: {
            order_over: function (order_id) {
                $.post('/order/order_over', {order_id: order_id}, function (data) {
                    var res = JSON.parse(data);
                    if (res.success) {
                        location.href = '/static/send-order-list/send-order-list.html'
                    }
                });
            }
        }
    });
    $.post('/send/get_send_order', {order_id: order_id}, function (data) {
        var lst = JSON.parse(data);
        app_data.order = lst.result;
        if (lst.success) {
        }
    })
});